<div class="my_meta_control">

	<label>Website URL</label>
 
	<p>
		<?php $mb->the_field('websiteurl'); ?>
		<input type="text" name="<?php $mb->the_name(); ?>" value="<?php $mb->the_value(); ?>"/>
	</p>
 
	<label>Video </label>
 
	<p>
		<?php $mb->the_field('video'); ?>
		<input type="text" name="<?php $mb->the_name(); ?>" value="<?php $mb->the_value(); ?>"/>
	</p>
	
	<label>Select Client Photo</label><br/>
	
	<?php 
		$arr_client_photo = cc_print_post('rpclientphotos');
	?>
	<?php $mb->the_field('clientphoto'); ?>
	<select name="<?php $mb->the_name(); ?>">
		<option value="-1">Select...</option>
		<?php if( $arr_client_photo ){ ?>
			<?php foreach( $arr_client_photo as $val){ ?>
					<option value="<?php echo $val['ID'];?>"<?php $mb->the_select_state($val['ID']); ?>><?php echo $val['title'];?></option>
			<?php } ?>
		<?php } ?>
	</select>
	
	<label>Select Client Appearances</label><br/>
	
	<?php 
		$arr_client_appearances = cc_print_post('rpclientappearance');
	?>
	<?php $mb->the_field('clientappearances'); ?>
	<select name="<?php $mb->the_name(); ?>">
		<option value="-1">Select...</option>
		<?php if( $arr_client_appearances ){ ?>
			<?php foreach( $arr_client_appearances as $val){ ?>
					<option value="<?php echo $val['ID'];?>"<?php $mb->the_select_state($val['ID']); ?>><?php echo $val['title'];?></option>
			<?php } ?>
		<?php } ?>
	</select>
	
	<label>Select Client Print </label><br/>
	
	<?php 
		$arr_client_prints = cc_print_post('rpclientprints');
	?>
	<?php $mb->the_field('clientprints'); ?>
	<select name="<?php $mb->the_name(); ?>">
		<option value="-1">Select...</option>
		<?php if( $arr_client_prints ){ ?>
			<?php foreach( $arr_client_prints as $val){ ?>
					<option value="<?php echo $val['ID'];?>"<?php $mb->the_select_state($val['ID']); ?>><?php echo $val['title'];?></option>
			<?php } ?>
		<?php } ?>
	</select>
</div>